PlcScanWriteBit

 

Write bit to plc_can program.

 

void @PlcScanWriteBit(int port, int station, int address, string extra1, int extra2, int value);

 

Parameters

int port : Number of port to write

int station : Station number to write

int address : Address to write

string extra1 : extra1 to write

int extra2 : extra2 to write

int value : value to write

 

Return Value

None

 

Example

@PlcScanWriteBit(0, 1, 5, "M", 0, 1);

 

Description : Write ON(1) to memory that can be found in port: 0, station: 1, address: 5, extra1: "M" and exra2: 0

 

Version Information

Supported Version: 10.2.0

 

Related Helps

@PlcScanSetPortActive()

@PlcScanSetReadDelay()

@PlcScanWriteBit()

@PlcScanWriteBlock()

@PlcScanWriteWord()